package com.lsj.dto.sys;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author:lin.sj
 * @Data:2021/7/8 19:32
 * @Desc:
 */
@Data
@Accessors(chain = true)
public class UserRoleDto {
    @NotNull(message = "用户主键不能为空")
    private Long userId;
    @NotBlank(message = "账户信息不能为空")
    private String account;
    private List<Long> roleIds;
}
